package com.ilink.ilinkuser.config;

import lombok.Getter;
import lombok.Setter;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

import java.util.List;
import java.util.Map;

/**
 * <h3>new-ilink-java-backend</h3>
 *
 * @author HuangJiayu
 * @description <p>Oauth配置读取类</p>
 * @date 2025-02-21 12:47
 **/
@Setter
@Getter
@Configuration
@ConfigurationProperties(prefix = "oauth2")
public class OAuth2Properties {
    // 必须提供getter/setter
    private List<String> clientIds;
    private Map<String, String> clientSecrets;
    private List<String> redirectUris;
}
